package businessLogic;

import java.util.ArrayList;

import vo.UserVO;
import enums.BLToViewResultMessage;
import businessLogicService.UserBLService;

public class UserController implements UserBLService{

	@Override
	public ArrayList<UserVO> showUserList() {
		return new ArrayList<UserVO>();
	}

	@Override
	public BLToViewResultMessage addUser(UserVO user) {
		if (user != null) {
			return BLToViewResultMessage.ADD_USER_SUCCESS;
		}
		return null;
	}

	@Override
	public BLToViewResultMessage deleteUser(int userID) {
		if (userID > 0) {
			return BLToViewResultMessage.DELETE_USER_SUCCESS;
		}
		return null;
	}

	@Override
	public BLToViewResultMessage modifyUser(int userID, UserVO user) {
		if (userID > 0) {
			return BLToViewResultMessage.MODIFY_USER_SUCCESS;
		}
		return null;
	}

}
